package com.ruibang.glass.iso.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruibang.glass.iso.domain.req.PermissionManageReq;
import com.ruibang.glass.iso.domain.req.PermissionReq;
import com.ruibang.glass.iso.entity.PermissionManage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author: songJinKang
 * @CreateTime: 2024-06-18  09:40
 * @Description: TODO
 * @Version: 1.0
 */
@Mapper
public interface PermissionManageMapper extends BaseMapper<PermissionManage> {
    IPage<PermissionManage> pageQuery(Page<Object> objectPage, @Param("permissionManageReq") PermissionManageReq permissionManageReq);

    List<PermissionManage> getByObjId(@Param("permissionReq") PermissionReq permissionReq);
}
